﻿@model TJBHJJ.Models.WebConfig
@{
    ViewBag.Title = Model.Remark;
}
<script type="text/javascript">
    $(function () {
        $("#tabs").tabs();
    });
</script>
<div id="tabs">
    <ul>
        <li><a href="#tabs-1">案例列表</a></li>
    </ul>
    <div id="tabs-1">
        @using (Html.BeginForm("EditWebConfig", "Manager", FormMethod.Post))
        {
            @Html.ValidationSummary(true)

            @Html.HiddenFor(model => model.Id)
            @Html.HiddenFor(model => model.KeyKind)
            @Html.HiddenFor(model => model.KeyName)
            @Html.HiddenFor(model => model.Remark)

            <table>
                <tr>
                    <td style="width: 150px">@Model.Remark
                    </td>
                    <td style="width: 550px">@Html.TextAreaFor(model => model.KeyValue, new { style = "width:550px;height:200px;" })
                    </td>
                </tr>
            </table>
            <p>
                <input type="submit" value="保存" />
            </p>
        }
        <div>
            @Html.ActionLink("返回列表", "ListWebConfig")
        </div>
    </div>
</div>
